#ifndef GLOBALS_H
#define GLOBALS_H

/**
Nectarine Utility Project is a software interface for the web system 'demovibes'
Copyright (C) 2010  Alexandre LAURENT

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

website: http://code.google.com/p/nectarine-utility-project/
e-mail: lw.demoscene@gmail.com
**/

// For the QSetting parameters
#define ORGANISATION    "LittleWhite productions"
#define APP_NAME        "Nectarine Utility Project"

// For the WebClient
#define USER_AGENT_NAME "Nectarine Utility V2.0"

#define	POST_HEADER     "/accounts/login/"
#define TYPE_REQUEST    "application/x-www-form-urlencoded"
#define LOGIN_REFERER   "https://www.scenemusic.net/accounts/login/"

#define DEFAULT_SERVER  "https://www.scenemusic.net"
#define LOGIN_PATH	"/accounts/login/"
#define QUEUE_PATH      "/demovibes/xml/queue/"
//#define QUEUE_REQUEST_PATH      "/demovibes/song/queue/"
#define ONELINER_PATH	"/demovibes/xml/oneliner/"
#define ONELINER_SUBMIT_PATH    "/demovibes/ajax/oneliner_submit/"
#define NEWS_PATH       "/demovibes/"
#define STREAM_PATH     "/demovibes/xml/streams/"
#define USER_PATH       "/demovibes/xml/user/"
#define FAVORITE_PATH   "/favorites/"
#define ADD_FAV_PATH    "/demovibes/favorites/add/"
#define SUB_FAV_PATH    "/demovibes/favorites/del/"
#define SONG_PATH       "/demovibes/xml/song/"
#define SONG_REQUEST_PATH   "/demovibes/song/"
#define ARTIST_PATH     "/demovibes/xml/artist/"
#define COMPILATION_PATH     "/demovibes/xml/compilation/"
#define GROUP_PATH	"/demovibes/group/"
#define THREAD_PATH	"/forum/thread/"
#define FORUM_PATH	"/forum/"
#define INBOX_PATH      "/demovibes/inbox/"
#define SEND_PM_PATH    "/demovibes/inbox/send/?to="

#define SMILEYS_DIR     "./data/smileys/"
#define FLAGS_DIR       "./data/flags/"
#define ICONSDIR	"./data/icons/"

#define NO_FLAG         "./data/flags/nectaflag.png"

#define SONG_REQUEST_LIMIT  3

// For the songlistwidget
#define NUMBER_COLUMN 4

// For VoteWidget
#define NB_NOTES    5
#define EMPTY_STAR_PATH     "./data/star-empty.png"
#define RED_STAR_PATH       "./data/star-red.png"

// For the mainwindow timers (in ms)
#define ONELINER_TIMER_FREQ	10000
#define QUEUE_TIME_FREQ 	5000
#define USERS_TIME_FREQ 	15*3600*1000
#define PM_TIME_FREQ            90*3600*1000

#endif // GLOBALS_H
